package cn.iocoder.yudao.module.shop.convert.giftitem;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.shop.controller.admin.giftitem.vo.*;
import cn.iocoder.yudao.module.shop.dal.dataobject.giftitem.ShopGiftItemDO;

/**
 * 礼品项 Convert
 *
 * @author 曹建伟
 */
@Mapper
public interface ShopGiftItemConvert {

    ShopGiftItemConvert INSTANCE = Mappers.getMapper(ShopGiftItemConvert.class);

    ShopGiftItemDO convert(ShopGiftItemCreateReqVO bean);

    ShopGiftItemDO convert(ShopGiftItemUpdateReqVO bean);

    ShopGiftItemRespVO convert(ShopGiftItemDO bean);

    List<ShopGiftItemRespVO> convertList(List<ShopGiftItemDO> list);

    PageResult<ShopGiftItemRespVO> convertPage(PageResult<ShopGiftItemDO> page);

    List<ShopGiftItemExcelVO> convertList02(List<ShopGiftItemDO> list);

}
